ahci: Use sizeof(fis) instead of hardcoding '20'
authorTaylor Hutt <[email protected]>
Mon, 29 Oct 2012 05:23:55 +0000 (05:23 +0000)
committerTom Rini <[email protected]>
Fri, 2 Nov 2012 22:20:42 +0000 (15:20 -0700)
commitc8731115656132b4b449f4e32a867ec48e47c84b
treef81598407ddfbb3ce64937477ea4cf2dc0746144
parent19d1d41e844ea8525f527fd5301aba9eb3006241
ahci: Use sizeof(fis) instead of hardcoding '20'

This cleanup replaces the hardcoded use of '20', which represents the
number of bytes in the FIS, with sizeof(fis).

Signed-off-by: Taylor Hutt <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
drivers/block/ahci.c